package practice;

import java.util.Scanner;

public class Id {
    static int counter=0;
    private int id;

    public static int getMaxID(){
        return  counter;
    }
    public  Id(){
        id=++counter;
    }

    public int getId() {
        return id;
    }


    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        int n=stdIn.nextInt();

        Id[] x=new Id[n];
        for (int i = 0; i <x.length ; i++) {
            x[i]=new Id();
        }

        Id a=new Id();
        Id b=new Id();
        Id c=new Id();
        System.out.println( Id.getMaxID());
        System.out.println(a.getId());
        System.out.println(b.getId());
        System.out.println(Id.counter);
    }
}
